package com.example.dto;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * ClassName:BookShelfAddDTO
 * Package:com.example.dto
 * User:HP
 * Date:2025/8/25
 * Time:下午8:56
 * Author 周东汉
 * Version 1.0
 * Description:
 */

@Data
public class BookShelfAddDTO {

    @NotNull(message = "房间号不能为空")
    private Long roomId;

    @NotBlank(message = "书架编号不能为空")
    private String number;


}
